/*
 * QueryShopInfoResponse.java
 * business
 *
 * Created by ChenTao on 2016/9/9.
 *
 * Copyright (c) 2016年 yidiandao. All rights reserved.
 */

package com.yidiandao.business.data.response;

import com.google.gson.annotations.SerializedName;
import com.yidiandao.business.data.bean.Shop;
import com.yidiandao.business.data.net.BaseResponse;

import java.util.List;

/** 店铺详情response */
public class QueryShopInfoResponse extends BaseResponse {

    @SerializedName("data")
    private Data data;

    public Data getData() {
        return data;
    }

    public void setData(Data data) {
        this.data = data;
    }

    public static class Data {

        @SerializedName("supplier_info")
        private Shop shop;

        @SerializedName("street_info")
        private StreetInfo streetInfo;

        @SerializedName("activity_list")
        private ActivityInfo mActivityInfo;

        /** 店铺是否已经收藏 */
        @SerializedName("has_collection")
        private int hasCollection;

        public int getHasCollection() {
            return hasCollection;
        }

        public void setHasCollection(int hasCollection) {
            this.hasCollection = hasCollection;
        }

        public Shop getShop() {
            return shop;
        }

        public void setShop(Shop shop) {
            this.shop = shop;
        }

        public StreetInfo getStreetInfo() {
            return streetInfo;
        }

        public void setStreetInfo(StreetInfo streetInfo) {
            this.streetInfo = streetInfo;
        }

        public ActivityInfo getActivityInfo() {
            return mActivityInfo;
        }

        public void setActivityInfo(ActivityInfo activityInfo) {
            mActivityInfo = activityInfo;
        }
    }

    /** 店铺优惠活动 */
    public static class ActivityInfo {

        /** 活动详情 */
        @SerializedName("favourable")
        private List<String> favourable;

        /** 红包 */
        @SerializedName("bouns")
        private List<String> bouns;

        public List<String> getBouns() {
            return bouns;
        }

        public void setBouns(List<String> bouns) {
            this.bouns = bouns;
        }

        public List<String> getFavourable() {
            return favourable;
        }

        public void setFavourable(List<String> favourable) {
            this.favourable = favourable;
        }
    }

    public static class StreetInfo {

        @SerializedName("information")
        private String information;

        @SerializedName("pictures")
        private List<String> pictures;

        @SerializedName("url")
        private String url;

        @SerializedName("email")
        private String email;

        @SerializedName("adver_info")
        private AdverInfoBean adverInfo;

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }

        public String getEmail() {
            return email;
        }

        public void setEmail(String email) {
            this.email = email;
        }

        public String getInformation() {
            return information;
        }

        public void setInformation(String information) {
            this.information = information;
        }

        public List<String> getPictures() {
            return pictures;
        }

        public void setPictures(List<String> pictures) {
            this.pictures = pictures;
        }

        public AdverInfoBean getAdverInfo() {
            return adverInfo;
        }

        public void setAdverInfo(AdverInfoBean adverInfo) {
            this.adverInfo = adverInfo;
        }

        public static class AdverInfoBean {
            @SerializedName("image")
            private String image;

            @SerializedName("url")
            private String url;

            public String getImage() {
                return image;
            }

            public void setImage(String image) {
                this.image = image;
            }

            public String getUrl() {
                return url;
            }

            public void setUrl(String url) {
                this.url = url;
            }
        }
    }
}
